import 'package:flutter/material.dart';
import 'package:flutter_blog_manage_study/res/r.dart';
import 'package:flutter_blog_manage_study/res/strings.dart';
import 'package:flutter_blog_manage_study/res/style.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:get/get.dart';

/// * 作者: Tao
/// * 日期: 2024/3/22
/// * 时间: 15:54
/// * 描述: logo + app名称 widget
class LogoNameWidget extends StatelessWidget {
  const LogoNameWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      alignment: Alignment.center,
      margin: const EdgeInsets.only(bottom: 16),
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          SvgPicture.asset(
            R.assetsImagesApplicationTransparent,
            width: 80,
            color: Colors.white,
          ),
          Text(
            Strings.appName.tr,
            style: TextStyles.style_white_36,
          )
        ],
      ),
    );
  }
}
